package com.xianzhiOA.service;

import com.xianzhiOA.bean.XzPlan;
import com.xianzhiOA.util.PageBean;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 *PlanService
 *
 * @author 甘汝雷
 * @create 2017-04-19 10:17
 **/
public interface XzPlanService {
    PageBean<XzPlan>selAll(XzPlan plan, int page, int rows, Date begina, Date beginb, String beginc, String endc);
    List<XzPlan>selAll(XzPlan plan);
    XzPlan selById(Long planId);
    XzPlan selByName(Map map);
    List<XzPlan> selByPlan(Map map);
    int addPlan(XzPlan plan);
    int delete(Long planId);
    int isdelete(Long planId);
    int update(XzPlan plan);
}
